<?php
require("../../inc/common.inc.php");
$PurviewLevelTrue=0;
$PurviewLevel="";
require_once("../Admin_ChkPurview.php");
$havenum=0;
if (trim($dname)!=""){
	$havenum=$db->getsingle("select count(id) from mx_daili where dname='$dname'");
	$havenum=intval($havenum);
}
if ($havenum>0){echo "1";}
else{echo "0";}
?>
